package adapterPackage;

import java.util.ArrayList;
import java.util.List;

import systemPackage.MainSystem;
import dataTypesPackage.Musteri;


public class MusteriAdapter {
	public static List<Musteri> getAllMusteri(){
		List<Object> objectList = MainSystem.getAll(Musteri.class);
		//as all getAll functions, we have to cast to according class
		List<Musteri> musteriList = new ArrayList<Musteri>();
		for(Object temp:objectList){
			musteriList.add((Musteri)temp);
		}
		return musteriList;
	}
}
